package cn.akwing.sms.service.Impl;

import cn.akwing.sms.mapper.TimetableMapper;
import cn.akwing.sms.pojo.Timetable;
import cn.akwing.sms.service.TimetableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class TimetableServiceImpl implements TimetableService {
    @Autowired
    private TimetableMapper timetableMapper;
    @Override
    public ArrayList<Timetable> getTimetables() {
        return timetableMapper.getTimetables();
    }
}
